package Test.designmodel.builder;

/**
 * @Title: ecology-idea
 * @Company: 泛微软件
 * @author: weaver.Dusongsong
 * @version: 1.0
 * @CreateDate: 2022-06-09
 * @Description: 具体建造者：实现了抽象建造者接口。
 * @ModifyLog:
 **/

public class ConcreteBuilder extends Builder {

    @Override
    public void buildPartA() {
        product.setPartA("建造 PartA");
    }

    @Override
    public void buildPartB() {
       product.setPartB( "建造 PartB" );
    }

    @Override
    public void buildPartC() {
      product.setPartC("建造 PartC");
    }
}
